package com.elm.model;
/**
 *	分页模型
 * @author phl
 *
 */
public class PageBean {
	private  int page;//代表的页码
	private  int pageSize;//按多少条来分页
	private  int start;//起始位置
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getStart() {
		return (page-1)*pageSize;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public PageBean(int page, int pageSize) {
		super();
		this.page = page;
		this.pageSize = pageSize;
	}
}
